package cn.minhx.infrastructure.dao;

import cn.minhx.infrastructure.dao.po.GroupBuyOrderItem;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户拼单明细
 *
 * @author min
 */
@Mapper
public interface IGroupBuyOrderItemDAO {

	void insert(GroupBuyOrderItem groupBuyOrderItemReq);

	GroupBuyOrderItem queryGroupBuyOrderRecordByOutTradeNo(GroupBuyOrderItem groupBuyOrderItemReq);

	Integer queryOrderCountByActivityId(GroupBuyOrderItem groupBuyOrderListReq);

	int updateOrderItemStatusToComplete(GroupBuyOrderItem groupBuyOrderItemReq);

	List<String> queryGroupBuyCompleteOrderOutTradeNoListByTeamId(String teamId);
}
